package t327.service.iter;

import t327.pojo.Role;
import t327.pojo.RoleMenuRel;
import t327.pojo.font.UserRoleMenuFront;

import java.util.List;

public interface ILoginService {
    //定义判断方法
    Role userLogin(String rolePhone, String rolePassword);
    //判断数据库是否存在用户
    Role queryByPhone(String rolePhone);

    RoleMenuRel queryRoleMenuFont(Long roleId);
    UserRoleMenuFront queryByRoleId(Long roleId);
    //根据手机号修改密码
    Integer updatePassword(String rolePhone,String rolePassword);
}
